/**
 * 
 */
package kevin.study.zephyr.exceptions;

/**
 * Form嵌套出现死循环则抛出此异常
 * 
 * @author Kevin.Huang
 * @createtime 2007-9-25
 */
public class EndlessLoopException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4998190252411958395L;

	/**
	 * 出错时的描述,可以放在Object中
	 */
	private Object object;

	/**
	 * 
	 */
	public EndlessLoopException() {
		super();
	}

	/**
	 * @param message
	 */
	public EndlessLoopException(String message) {
		super(message);
	}

	/**
	 * @param cause
	 */
	public EndlessLoopException(Throwable cause) {
		super(cause);
	}

	/**
	 * @param message
	 * @param cause
	 */
	public EndlessLoopException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * @return the object
	 */
	public Object getObject() {
		return object;
	}

	/**
	 * @param object
	 *            the object to set
	 */
	public void setObject(Object object) {
		this.object = object;
	}

}
